GDK W32: use clock after_paint signal for timing updates
authorРуслан Ижбулатов <lrn1986@gmail.com>
Mon, 9 Apr 2018 20:16:23 +0000 (20:16 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Mon, 9 Apr 2018 20:21:16 +0000 (20:21 +0000)
commit27d9f233d4d8155d4c00e4313dd7402932e5c9ea
tree43f13a06bcba2a49a1d731707a548533581688e9
parent410b20f904d2f22f5c0033d7a0c0854c76321f95
GDK W32: use clock after_paint signal for timing updates

* Previous commit had misleading info. The code was
added to begin_paint() instead of end_paint(). Though
that did not affect its performance in any visible way.
* Company advised to move the code to an "after_paint" signal
handler, so that it works on all renderers, not just Cairo.
This change caused high fluctuation in FPS values in fishbowl
when it is put in a situation where it cannot achieve 60fps
(such as using Cairo renderer at ultra-high resolution).
This seems to be deliberate and not a bug.
gdk/win32/gdksurface-win32.c